<template>
  <div id="nodata">
    <div class="nav"> 
      <van-nav-bar title="比郎" left-text="返回" left-arrow
            @click-left="onClickLeft"
             @click-right="onClickRight"
      >
        <template #right>
          <van-icon name="ellipsis" size="18" />
        </template>
      </van-nav-bar>
    </div>

    <div class="Box">
     <div class="BBox" v-for= "(item , index) in items" :key="index">
        <img :src= "item.url" alt="">
        <p class= "title">{{item.text}}</p>
        <p class= "number">{{item.number}}</p>
     </div>

     <div class="buttoms">
         <!-- <router-link to='/neck'>  -->
            <van-button plain type="info" @click="login">开 始 测 量</van-button>
         <!-- </router-link> -->
    </div>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            items:[
                {
                    url:require("../assets/images/我的尺寸/pic_5.png"),
                    text:'身体',
                    number:'- -'
                },
                {
                    url:require("../assets/images/我的尺寸/pic_4.png"),
                    text:'体重',
                    number:'- -'
                },
                {
                    url:require("../assets/images/我的尺寸/pic_6.png"),
                    text:'肩宽',
                    number:'- -'
                },
                {
                    url:require("../assets/images/我的尺寸/pic_2.png"),
                    text:'胸围',
                    number:'- -'
                },
                {
                    url:require("../assets/images/我的尺寸/pic_1.png"),
                    text:'腰围',
                    number:'- -'
                },
                {
                    url:require("../assets/images/我的尺寸/pic_3.png"),
                    text:'臀围',
                    number:'- -'
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_03.png"),
                    text:"领围",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_05.png"),
                    text:"胸围",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_07.png"),
                    text:"腰围",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_12.png"),
                    text:"肩宽",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_13.png"),
                    text:"袖长",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_18.png"),
                    text:"衣长",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_23.png"),
                    text:"袖肥",
                    number:"- -",
                },
                {
                    url:require("../assets/images/测量尺寸/测量尺寸（无）_25.png"),
                    text:"袖口",
                    number:"- -",
                },
                
            ]
        }
    },
     methods: {
    onClickLeft() {
      
      this.$router.replace('/')
    },
    onClickRight() {
      
    },
    login(){
        this.$router.replace('/neck');
    }
  },
}
</script>

<style lang="less">
#nodata{
    background:#f9f9f9;
    position: absolute;
}

.Box{
    width: 100%;
    padding-top: 90px;
}
.BBox{
    width: 33.3%;
    height: 350px;
    background: #f9f9f9;
    float: left;
    text-align: center;
    img{
        width: 120px;
        height: 120px;
        // float: left;
        margin-top: 70px;
        // margin-left: 65px;
    }
    .title{
        width: 100%;
        font-size: 28px;
        // display: inline-block;
        line-height: 110px;
        color: #999;
    }
    .number{
        width: 100%;
        font-size: 38px;
        // display: inline-block;
        line-height: 1;
        color: #000;
    }
}
.buttoms{
    width: 660px;
    height: 90px;
    // position: relative;
    background:#f9f9f9;
    margin: 0 auto;
    bottom: 0;
    clear: both;
    .van-button{
        width: 100%;
        height: 100%;
        border-radius: 10px;
        background:#f9f9f9;
        float: left;
    }
}
</style>
